package com.binance.notification.web.service.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.binance.notification.web.service.JService;
import com.binance.notification.web.utils.I18nUtils;

@Service
public class JServiceImpl implements JService {

    @Value("${jpush.host.name}")
    private String apiUrl;

    @Override
    public byte[] getI18nResources() throws Exception {
        return I18nUtils.getI18nResources();
    }

    @Override
    public String getApiUrl() {
        return apiUrl;
    }

}
